let BASE_URL = "";
const TIMEOUT = 10000;

if (process.env.NODE_ENV === "development") {
  BASE_URL = "/api";
} else if (process.env.NODE_ENV === "production") {
  //域名
  BASE_URL = VUE_APP_BASE_API;
} else {
  // 测试
  BASE_URL = "";
}

export { BASE_URL, TIMEOUT };
